package com.inspur.demo.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.FeignClientsConfiguration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

// 不指定配置类
@FeignClient(value = "spring-cloud-producer2")
public interface FeignTestClient3 {

    @GetMapping("/feign/get/{id}")
    String get(@PathVariable("id") String id);
}
